<?php
	$sess = new Zend_Session_Namespace(CLU_NS);
	$userPermission = $sess->userPermissions; 
?>

<div id="menu">
	<ul>
		<li><a href="#home">Admin home</a></li>
		<li><a href="#member">Members</a></li>
		<li><a href="#project">Projects</a></li>
		<li><a href="#content">Contents</a></li>
		<li><a href="#gallery">Galleries</a></li>
		<!-- <li><a href="#category">Categories</a></li>-->
		<li><a href="#account">Login/out</a></li>
		<li><a href="#api">API</a></li>
	</ul>
	<div id="home">
		<a href="/admin/"> Home </a>
	</div>
	<div id="member">
		<a href="/vi/archin/master/new?type=people">Add new member</a> | <a href="/vi/archin/master/search?type=people">Member list</a>
	</div>
	<div id="project">
		<a href="/vi/archin/master/new?type=project">Add new project</a> | <a href="/vi/archin/master/search?type=project">Project list</a> | <a href="/vi/category/master/search?type=project"> Project Categories </a> | <a href="/vi/category/master/new?type=project"> New Project Category </a>
	</div>
	<div id="content">
		<a href="/vi/archin/master/new?type=post">Add new content</a> | <a href="/vi/archin/master/search?type=post">Content list</a>
	</div>
	<div id="gallery">
		<a href="/vi/node/gallery/new">Add new gallery</a> | <a href="/vi/archin/master/search?type=gallery">Gallery list</a>
	</div>
	<!--
	<div id="category">
		 <a href="/vi/category/master/new">Add new category</a> | <a href="/vi/category/master/search">Category list</a>
	</div>
	-->

	<div id="account">
		<a href="/vi/login">Login</a> | <a href="/vi/logout">Logout</a> | <a href="/vi/change-pass?id=<?=$sess->userId?>">Change pass</a>
	</div>
	<div id="api">
		<a href="/vi/archin/master/api">List</a>
	</div>
	

</div>

<script type="text/javascript">
	$(function() {
		$("#menu").tabs({ event : 'mouseover', selected : <?= $this->viewParams['page']?>});
	});
</script>




